import { createRouter, createWebHistory } from 'vue-router'
import Index from '../views/index/index.vue'
// import Introduce from '../views/introduce'

const routerHistory = createWebHistory()

const router = createRouter({
  history: routerHistory,
  routes: [
    {
      path: '/',
      name: 'index',
      component: Index
    },
    {
      path: '/introduce',
      name: 'introduce',
      component:() => import('../views/introduce/index.vue'),
    },

  ]
})

export default router